import request from '@/utils/request'

// 查询圈子题目推送记录列表
export function listQuestionPushRecord(query) {
  return request({
    url: '/questionPushRecord/questionPushRecord/list',
    method: 'get',
    params: query
  })
}

// 查询圈子题目推送记录详细
export function getQuestionPushRecord(id) {
  return request({
    url: '/questionPushRecord/questionPushRecord/' + id,
    method: 'get'
  })
}

// 新增圈子题目推送记录
export function addQuestionPushRecord(data) {
  return request({
    url: '/questionPushRecord/questionPushRecord',
    method: 'post',
    data: data
  })
}

// 修改圈子题目推送记录
export function updateQuestionPushRecord(data) {
  return request({
    url: '/questionPushRecord/questionPushRecord',
    method: 'put',
    data: data
  })
}

// 删除圈子题目推送记录
export function delQuestionPushRecord(id) {
  return request({
    url: '/questionPushRecord/questionPushRecord/' + id,
    method: 'delete'
  })
}
